package com.example.s08restful_sagger.service;

import org.apache.logging.log4j.message.Message;

import java.util.List;

/**
 * @author: lazyfier
 * @create 2022-04-04 22:49
 */

public interface IMessageService
{
    public void save(Message m);

    public List<Message> findAll();

    public Message findById(Long id);

    public void removeById(Long id);

    public void updateById(Message m);

    public void updateText(Message m);
}

